<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'detailItem.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<!-- 内容开始 -->
		
		<jsp:include page="top.jsp"></jsp:include>
		<div class="content"  >
			<s:form theme="simple">
				<!-- 
					 餐饮名称:      <s:property value="%{#request.itemName}"/>
					    价格：  <s:property value="%{#request.itemPrice}"/>
					  描述：   <s:property value="%{#request.itemDescription}"/>
					     类别: <s:property value="%{#request.itemType}"/>
					             库存：<s:property value="%{#request.itemNum}"/>
					         商店号:    <s:property value="%{#request.shop.shopId}"/>
		                -->



				<div class="header">
				
					<h1 class="page-title">
						菜谱
					</h1>
				</div>

				<ul class="breadcrumb">
					<li>
						<a href="/sell_food/marchantview/index.jsp">主页</a>
						<span class="divider">/</span>
					</li>
					<li class="active">
						餐饮
					</li>
				</ul>

				<div class="container-fluid">
					<div class="row-fluid">
						<div class="page-header"></div>
						<div class="row-fluid">
							<div class="span1"></div>
							<div class="span5">
								<h1>
									<s:property value="item.itemName" />
								</h1>
								<img src="<s:property value="item.itemPicture" />" alt=""
									width="220" height="170">
							</div>
							<div class="span6">
								<h2>
									<span class="label"> 价 格 : </span>
									<span class="label label-success"> <s:property
											value="item.itemPrice" /> </span>
								</h2>
								<h2>
									<span class="label"> 类 型 : </span>
								</h2>
								<span class="label label-success"> <s:property
										value="item.itemTypename" /> </span>
								<h2>
									<span class="label"> 备 注 : </span>
								</h2>
								<p class="text-success">
									<s:property value="item.itemDescription" />
								</p>


							</div>

						</div>
						<div class="form-actions"  >

							<button class="btn" type="button"
								onclick="location.href='showItem'">
								返 回
							</button>
						</div>
					</div>
			</s:form>
	</body>
</html>
